package com.hz.basic.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * 
 * @author tongxiaowu
 * @email 15755337992@163.com
 * @date 2021-04-08 15:24:36
 */
@Data
@TableName("hz_cb_contents")
public class CbContentsEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 目录id
	 */
	@TableId
	@ApiModelProperty(value = "目录id", dataType = "Long")
	private Long id;
	/**
	 * 目录照片src
	 */
	@ApiModelProperty(value = "目录照片src", dataType = "String")
	private String contents;
	/**
	 * 目录顺序
	 */
	@ApiModelProperty(value = "目录顺序", dataType = "Integer")
	private Integer corder;
	/**
	 * 软笔书id
	 */
	@ApiModelProperty(value = "软笔书id", dataType = "Long")
	private Long bid;
	/**
	 * 单元list
	 */
	@ApiModelProperty(value = "单元list", dataType = "List<CbUnitEntity>")
	@TableField(exist = false)
	private List<CbUnitEntity> units;
}
